package com.jy.api.vo.admin.product;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lihu on 2018/1/19.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductTypeVo {

    private String id;
    private String storeId;
    private String name;
    private List<ProductTypeVo> productTypeVos = new ArrayList<>();
    /**
     * 商品分类排序
     */
    private short sequence = 0;

    public ProductTypeVo(String id, String storeId, String name, short sequence) {
        this.id = id;
        this.storeId = storeId;
        this.name = name;
        this.sequence = sequence;
    }
}
